// 公用属性
a {
    text-decoration: none !important;
}

a:hover {
    text-decoration: none !important;
}

.position-relative {
    position: relative;
}

.position-absolute-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.max-show-line-1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.custom-file-upload {
    color: #FFFFFF;
    font-weight: 400;
    font-size: 16px;
    line-height: 38px;
    background-color: #272626;
    border-radius: 30px;
    height: 38px;
    padding: 0 33px;
    cursor: pointer;
    border: 0;
}

// 字体颜色
.text-blue {
    color: blue;
}

.text-black {
    color: #000;
}

// 用户
#user .icon-list ul li {
    padding-right: 10px;
}

#user .nav-pills .nav-link.active,
.show>.nav-pills .nav-link {
    color: #007bff;
    background-color: unset;
}

// 上传作品
#add-article .btn-add-article {
    background: #f5f5f5;
    width: 200px;
    height: 120px;
    padding-top: 30px
}

#add-article .article-thumbnail-action {
    background: #f5f5f5;
    width: 200px;
    height: 120px;
    padding-top: 30px
}

#add-article #avatar_uploder {
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0;
    bottom: 0;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
    border: 0
}

#add-article .cover-action {
    text-align: center;
    background: #f5f5f5;
    height: 338px;
    display: block;
    width: 100%;
    cursor: pointer;
    position: relative;
}

#add-article .text-box {
    line-height: 30px;
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%)
}

#add-article .preview-box {
    width: 100%;
    height: 246px;
    overflow: hidden;
}

#add-article .work-thumbnail-preview {
    width: 260px;
    height: 260px;
    position: relative
}

#add-article .work-thumbnail-preview h5 {
    color: #fff;
    text-align: center;
    margin-top: 100px;
}

#add-article .work-thumbnail-edit {
    position: absolute;
    width: 100%;
    top: 0;
    height: 100%;
    background: rgba(0, 0, 0, .2);
    cursor: pointer;
}

#add-article .work-thumbnail-preview i {
    color: #5bc0de;
}